<?php
namespace app\api\model;
use think\Model;
class Lesson extends Model
{
    public function course() {
        return $this->belongsTo(Course::class, 'course_id')->field('cor_name');
    }
}
